/**
 * crawler
 *
 * outlook@China software studio
 * Copyright (c) 2008-2010. All Rights Reserved.
 * http://www.outlook.com
 */

package org.outlook.common.log;

import org.apache.commons.logging.Log;

/**
 * function:
 * @author Watson email: watson.wu@hotmail.com
 * @date 2011
 */
public class LogUtil {
	
	public static void debug(Log logger, Object...objects) {
		for(Object obj : objects)
			System.out.print(obj);
		System.out.println();
//		logger.debug(objects);
	}
	
	public static void info(Log logger, Object...objects) {
		logger.info(objects);
	}
	
	public static void error(Log logger, Object...objects) {
		for(Object obj : objects)
			System.out.print(obj);
		System.out.println();
//		logger.error(objects);
	}
	
	public static void fatal(Log logger, Object...objects) {
		logger.fatal(objects);
	}

	public static void trace(Log logger, Object...objects) {
		logger.trace(objects);
	}

}
